package com.moore.mapper;

import com.moore.bean.Community;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CommunityMapper {

    int addCommunity(@Param("community")Community community);

    List<Community> getCommunity(@Param("community")Community community);

    int getCommunityCount(@Param("community")Community community);

    int updateCommunity(@Param("community")Community community);
}
